﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DAO;
using DTO;

namespace BUS
{
    public class DonDH_NguyenVatLieuBUS
    {
        DonDH_NguyenVatLieuDAO ddhnvlDAO = new DonDH_NguyenVatLieuDAO();

        public List<DonDH_NguyenVatLieuDTO> LayDanhSachDonDH_NguyenVatLieu()
        {
            return ddhnvlDAO.LayDanhSachDonDH_NguyenVatLieu();
        }

        public int ThemDonDH_NguyenVatLieu(DonDH_NguyenVatLieuDTO hdspDTO)
        {
            return ddhnvlDAO.ThemDonDH_NguyenVatLieu(hdspDTO);
        }
    }
}
